package com.amgl.mobike.network.api;

import com.amgl.mobike.app.AppConstants;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by 阿木 on 2017/5/27.
 */

public interface SearchApi {
    String BASE_URL = AppConstants.BASE_API;

    @GET("/j")
    Observable<String> search(@Query("q") String q, @Query("sn") int sn, @Query("pn") int pn);
}
